/**
 * 
 */
package org.rollinitiative.d20web.gmportal.client;

import com.google.gwt.user.client.rpc.RemoteService;

/**
 * @author bebopjmm
 *
 */
public interface EncounterService extends RemoteService
{
    public static final int PARTY_FACTION = 0;
    public static final int HOSTILES_FACTION = 1;
    public static final int NEUTRALS_FACTION = 2;
    public static final int ALLIES_FACTION = 3;
    
    public String[] getParty(String campaign);
    
    public String createNewEncounter(String encounterName);
    
    public CombatantData addCombatant(String encounterID, String actorName, int faction);
    
    public CombatantData[] combatantAware (String encounterID, CombatantData combatant);
    
    public CombatantData rollInitiative(String encounterID, CombatantData combatant);
    
    public void startEncounter(String encounterID);
    
    public CombatantData getNextCombatant(String encounterID);
    
}
